body{
    background-image: url(../yuanshen/img/role/back.jpg);
    background-size: cover;
    padding: 0px;
    margin: 0px;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}

.role_bottom{
    width: 100vw;
    height: 35vh;
    background: black;
    color: grey;
    text-align: center;
    position: absolute;
    top: 100vh;
}

.role_bottom img{
    width: 170px;
    height: 145px;
}

.select_div{
    width: 100vw;
    height: 20vh;
    line-height: 20vh;/*当这个等于height的时候就可以实现垂直居中*/
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 80vh;
    text-align: center;
    z-index: 3;/*图片上下层关系，数字越大越在上层*/
}

.left_arrow,.right_arrow{
    width: 48px;
    height: 54px;
    vertical-align: middle;
}

.avartar{
    width: 100px;
    height: 110px;
    border-radius: 10px;
    display: inline-block;/*使它处于一条水平线上*/
    vertical-align: middle;
    background: rgba(6, 6, 6, 0.5);
    margin: 0px 20px;
    box-sizing: border-box;/*向内部晃动，不设置的话会向外晃动，因为滑块之间的间距设置不大因此会产生晃动*/
}
.avartar:hover{
    border: 2px solid white;
    box-shadow: 0px 0px 50px gold;
}

.selected{
    border: 2px solid white;
    box-shadow: 0px 0px 50px gold;
}

.intro_div{
    width: 550px;
    height: 130px;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 35%;
    left: 20%;
    z-index: 3;/*图片上下层关系，数字越大越在上层*/
    color: white;
    font-size: 18px;
    padding: 20px;
}

.role_div{
    width: 50vw;
    height: calc(100vh - 100px);
    position: absolute;
    left: 25%;
    z-index: 2;/*图片上下层关系，数字越大越在上层*/
}

.role_div img{
   height: 100%; 
}